package com.wangjiang.mario.admin.system.object.user;

import com.wangjiang.mario.admin.common.base.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 用户列表返回结果
 */
@Data
public class UserVo extends BaseVo {

    @ApiModelProperty(value = "真实名称")
    private String realName; // 模板名称

    @ApiModelProperty(value = "昵称")
    private String nickname; // 昵称

    @ApiModelProperty(value = "登录名")
    private String loginName; // 模板下载地址

    @ApiModelProperty(value = "手机号码")
    private String phone ; // 手机号码

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户类型")
    private String userType;

    @ApiModelProperty(value = "用户岗位code")
    private String positionCode;

    @ApiModelProperty(value = "用户岗位名称")
    private String positionName;

    @ApiModelProperty(value = "用户职位code")
    private String deptCode;

    @ApiModelProperty(value = "用户职位名称")
    private String deptName;

    @ApiModelProperty(value = "角色列表")
    private List<UserRoleVo> roles;

    @ApiModelProperty(value = "角色代码")
    private List<String> roleCode ;
}
